package com.seari.custody.constant;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

public class BusinessConstant {

    //报审传给技审  项目版本 标记
    public static final String VERSION_TYPE_OLD = "0";
    public static final String VERSION_TYPE_NEW = "1";
    //当前一周 上一周  下一周标记
    public static final String CURRENT_WEEK = "1";
    public static final String LAST_WEEK = "2";
    public static final String NEXT_WEEK = "3";

    //列表查询类型
    public static final String SELECR_TYPE_JHDG = "1";
    public static final String SELECR_TYPE_ZX = "2";
    public static final String SELECR_TYPE_XK = "3";
    public static final String SELECR_TYPE_ZXBHFA = "4";

    //代办描述
    public static final String REVIEW_STATUS_DBMS = "1";

    //监护大纲下发次数 初始为1
    public static final Integer OUTLINENUMBER = 1;

    //技审意见下发次数 初始为1
    public static final Integer FLOWNUMBER = 1;

    //监护大纲
    public static final String Monitoring_THE_OUTLINT = "1";

    //结合改造审核状态
    public static final String WITHRECONSTRUCTION = "1";

    //待处理
    public static final String FLOW_STATUS_TO_DCL = "1";
    //处理中
    public static final String FLOW_STATUS_TO_CLZ = "2";
    //待发送
    public static final String FLOW_STATUS_TO_DFS = "3";
    //已完结
    public static final String FLOW_STATUS_TO_YWJ = "4";

    //立项
    public static final String XK_TYPE_LX = "1";
    //可研
    public static final String XK_TYPE_KY = "2";
    //方案
    public static final String XK_TYPE_FA = "3";
    //初步
    public static final String XK_TYPE_CB = "4";
    //施工
    public static final String XK_TYPE_SG = "5";
    //结合改造
    public static final String XK_TYPE_JHGZ = "6";

    //专项保护方案  审核中
    public static final String SPECIAL_PROTECTION_SHZ = "1";
    //专项保护方案  已退回
    public static final String SPECIAL_PROTECTION_YTH = "2";
    //专项保护方案  已完结
    public static final String SPECIAL_PROTECTION_YWJ = "3";

    // 传输数据是否为技术审查   数据存在 1
    public static final String TECHNiICAL_REVIEW_EXIST_YES = "1";
    // 传输数据是否为技术审查   数据不存在 0
    public static final String TECHNiICAL_REVIEW_EXIST_NO = "0";
    // 传输数据是否为监护大纲   数据存在 1
    public static final String OUTLIINE_EXIT_EXIST_YES = "1";
    // 传输数据是否为监护大纲   数据存在 0
    public static final String OUTLIINE_EXIT_EXIST_NO = "0";
    //技审状态——列表
    public static final Map<String, String> flowStatusMap;

    //监护大纲状态
    public static final Map<String, String> outlineStatus;

    //项目管理——列表
    public static final Map<String, String> projectManagementMap;

    public static final Map<String, String> reviewStatusMap;

    public static final Map<String, String> xkTypeMap;

    public static final Map<String, String> specialProtection;

    public static final Map<String, String> lineTypeMap;

    public static final Map<String, String> stationFlagMap;

    public static final Map<String, String> stationAreaMap;
    //专项保护方案  替换位置  轨道交通专项保护方案模板-基坑类（基坑工程-单圆、双圆、矩形).docx
    public static final String JK_TYPE_DSJ_START = "地下室防水";
    public static final String JK_TYPE_DSJ_END = "其他未曾涉及到的内容应以保障轨道交通安全为前提";
    //专项保护方案 替换位置   轨道交通专项保护方案模板-拆除类
    public static final String CC_TYPE_DSJ_START = "施工说明及要求";
    public static final String CC_TYPE_DSJ_END = "其他未曾涉及到的内容应以保障轨道交通安全为前提";
    //专项保护方案 替换位置  轨道交通专项保护方案模板-勘探类
    public static final String KT_TYPE_DSJ_START = "勘探要求";
    public static final String KT_TYPE_DSJ_END = "本技术审查意见并不免除建设单位在工程施工和建筑使用期间的责任";
    ////专项保护方案 替换位置  轨道交通专项保护方案模板-绿化类
    public static final String LH_TYPE_DSJ_START = "建筑物基础";
    public static final String LH_TYPE_DSJ_END = "其他未曾涉及到的内容应以保障轨道交通安全为前提";
    ////专项保护方案 替换位置  轨道交通专项保护方案模板-穿越类
    public static final String CY_TYPE_DSJ_START = "相对位置关系";
    public static final String CY_TYPE_DSJ_END = "其他未曾涉及到的内容应以保障轨道交通安全为前提";

    static {
        //技术审查 许可  代办描述
        reviewStatusMap = new HashMap<>();
        reviewStatusMap.put("1", "【技术审查】技术科管理员");
        //技审流程状态
        flowStatusMap = new LinkedHashMap<>();
        flowStatusMap.put("1", "待处理");
        flowStatusMap.put("2", "资料校对");
        flowStatusMap.put("3", "处理中");
        flowStatusMap.put("4", "专项草稿审核");
        flowStatusMap.put("5", "技审草稿被退回待处理");
        flowStatusMap.put("6", "已完结");
        //专项保护方案
        flowStatusMap.put("7", "处理中");
        flowStatusMap.put("8", "已退回");
        flowStatusMap.put("9", "已完结");

        //监护大纲
        outlineStatus = new LinkedHashMap<>();
        outlineStatus.put("1", "待处理");
        outlineStatus.put("2", "资料校对");
        outlineStatus.put("3", "处理中");
        outlineStatus.put("4", "已发送");
        outlineStatus.put("5", "技术要求表被退回待处理");
        outlineStatus.put("6", "技术要求表被修改待确认");
        outlineStatus.put("7", "已完结");

        xkTypeMap = new LinkedHashMap<>();
        xkTypeMap.put("1", "立项");
        xkTypeMap.put("2", "可研");
        xkTypeMap.put("3", "方案");
        xkTypeMap.put("4", "初步");
        xkTypeMap.put("5", "施工");
        xkTypeMap.put("6", "结合改造");

        //专项保护方案流程状态
        specialProtection = new HashMap<>();
        specialProtection.put("1", "审核中");
        specialProtection.put("2", "已退回");
        specialProtection.put("3", "已完结");

        //线路情况
        lineTypeMap = new HashMap<>();
        lineTypeMap.put("1", "运营");
        lineTypeMap.put("2", "在建");
        lineTypeMap.put("3", "规划");

        //车站
        stationFlagMap = new HashMap<>();
        stationFlagMap.put("1", "地上");
        stationFlagMap.put("2", "地下");

        //区间
        stationAreaMap = new HashMap<String, String>();
        stationAreaMap.put("1", "单圆");
        stationAreaMap.put("2", "双圆");
        stationAreaMap.put("3", "矩形");
        stationAreaMap.put("4", "高架");
        stationAreaMap.put("5", "地面");


        //技审流程状态
        projectManagementMap = new LinkedHashMap<>();
        projectManagementMap.put("1", "待处理");
        projectManagementMap.put("2", "资料校对");
        projectManagementMap.put("3", "处理中");
        projectManagementMap.put("4", "专项草稿审核");
        projectManagementMap.put("5", "技审草稿被退回待处理");
        projectManagementMap.put("6", "已完结");
        //专项保护方案
        projectManagementMap.put("7", "处理中");
        projectManagementMap.put("8", "已退回");
        projectManagementMap.put("9", "已完结");

    }


}
